package Corejava.com;

public class PatternPrint {

	public static void main(String[] args) {
		// print the pattern

				int[] pattern = new int[6];
				
				for (int j = 1; j < pattern.length; j++) {
				
				for (int i = 1; i <= j; i++){
					System.out.print(j); 
				}
				System.out.println();
	}

}
}
